#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
namespace Cephei.QL
{
    /// <summary> 
	/// ! This class is purely abstract and defines the interface of concrete instruments which will be derived from this one. \test observability of class instances is checked.
	/// </summary>
    [Guid ("012AF100-79D3-4c9d-8081-E9C0A359B007"),ComVisible(true)]
	public interface IInstrument 
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 DateTime ValuationDate {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double ErrorEstimate {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Boolean IsExpired {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double NPV {get;}
        /// <summary> 
		/// 
		/// </summary>
		 IInstrument SetPricingEngine(Cephei.QL.IPricingEngine prm1);
    }   

    /// <summary> 
	/// ! This class is purely abstract and defines the interface of concrete instruments which will be derived from this one. \test observability of class instances is checked. Factory
	/// </summary>
   	[ComVisible(true)]
    public interface IInstrument_Factory : INativeCollection_Factory<IInstrument>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary>
        /// Create a hybrid Vector of IInstrument, with event notification of changes
        /// </summary>
        /// <returns>a new Vector&ltIInstrument&gt</returns>
        IVector<IInstrument> CreateVector();
        /// <summary>
        /// Create a hybrid Vector of ICell of IInstrument, with event notification of changes
        /// </summary>
        /// <returns>a new ICell&ltIVector&ltI&ltIInstrument&gt&gt&gt</returns>
        ICoCell<IVector<ICoCell<IInstrument>>> CreateCellVector();
        IVector<IInstrument> CreateVector (IEnumerable<IInstrument> source);
        ICoCell<IVector<ICoCell<IInstrument>>> CreateCellVector (IEnumerable<ICoCell<IInstrument>> source);
    }
}

